package com.easy.common.bean;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.common.enumbean.RoleStatus;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;


@Data
@TableName("sys_role")
public class SysRole extends BaseBean implements Serializable {
     @TableId(type = IdType.AUTO)
     private Integer id;
     @TableField("role_name")
     private String rolename;
     @TableField("role_key")
     private String rolekey;
     private transient RoleStatus status;
     private List<SysPermission> permissions;
}
